package net.dgg.iboss.sc.backservice.task.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 * Developer:Liu Yao
 * Date:2018/2/24
 * Time:11:08
 */

@Component
public interface OrgRecorderDAO {


    /**
     * 通过祖先ID查找子类
     *
     * @param pId
     * @return 祖先id以及自己的子集id, 以, 分开
     */
    List<Long> findOrgIdsByPId(@Param("pId") long pId);

}
